export default function (app) {
  app
    .factory('store', storeFactory);

    function storeFactory () {
      return {
        authorizationInfo: null,
        userInfo: null,
        clear() {
          this.authorizationInfo = null;
          this.userInfo = null;
        }
      };
    }
}
